<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <title>流程节点设计器取组Api说明</title>
    <style>
    table {
      font-family: arial, sans-serif;
      border-collapse: collapse;
    }

    td,
    th {
      border: 1px solid #DDDDDD;
      text-align: left;
      padding: 8px;
    }

    tr:nth-child(even) {
      background-color: #DDDDDD;
    }
    </style>
</head>
<body class="layui-layout-body">
<h2 id="-">流程节点设计器取组</h2>
<p><strong>接口地址</strong> <code>/flow/design/apply-scope-search</code></p>
<p><strong>请求方式</strong> <code>GET</code></p>
<p><strong>请求参数</strong></p>
<table>
    <thead>
    <tr>
        <th>参数名称</th>
        <th>参数说明</th>
        <th>请求类型</th>
        <th>是否必须</th>
        <th>数据类型</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>filter</td>
        <td>查询关键字</td>
        <td>query</td>
        <td>false</td>
        <td>string</td>
    </tr>
    <tr>
        <td>pageNo</td>
        <td>第n页</td>
        <td>query</td>
        <td>false</td>
        <td>integer</td>
    </tr>
    <tr>
        <td>pageSize</td>
        <td>一页记录数</td>
        <td>query</td>
        <td>false</td>
        <td>integer</td>
    </tr>
    </tbody>
</table>
<p><strong>响应参数</strong></p>
<table>
    <thead>
    <tr>
        <th>参数名称</th>
        <th>参数说明</th>
        <th>类型</th>
        <th>schema</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>data</td>
        <td>组数据</td>
        <td>array</td>
        <td>应用范围Model</td>
    </tr>
    <tr>
        <td>errorInfo</td>
        <td>错误信息Model</td>
        <td>ErrorInfo</td>
        <td>ErrorInfo</td>
    </tr>
    <tr>
        <td>message</td>
        <td>兼容SpringMvc的默认错误消息格式</td>
        <td>string</td>
        <td></td>
    </tr>
    <tr>
        <td>success</td>
        <td>请求是否成功</td>
        <td>boolean</td>
        <td></td>
    </tr>
    <tr>
        <td>total</td>
        <td>总记录数</td>
        <td>integer(int64)</td>
        <td>integer(int64)</td>
    </tr>
    </tbody>
</table>
<p><strong>schema属性说明</strong></p>
<p><strong>应用范围Model</strong></p>
<table>
    <thead>
    <tr>
        <th>参数名称</th>
        <th>参数说明</th>
        <th>类型</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>description</td>
        <td>详细描述，用于html的title属性</td>
        <td>string</td>
    </tr>
    <tr>
        <td>id</td>
        <td>Id</td>
        <td>string</td>
    </tr>
    <tr>
        <td>name</td>
        <td>显示名称</td>
        <td>string</td>
    </tr>
    </tbody>
</table>
<p><strong>ErrorInfo</strong></p>
<table>
    <thead>
    <tr>
        <th>参数名称</th>
        <th>参数说明</th>
        <th>类型</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>message</td>
        <td>错误消息</td>
        <td>string</td>
    </tr>
    </tbody>
</table>
<p><strong>响应示例</strong></p>
<pre><code class="lang-json">{
    <span class="hljs-attr">"data"</span>: [
        {
            <span class="hljs-attr">"id"</span>: <span class="hljs-string">"1"</span>,
            <span class="hljs-attr">"name"</span>: <span class="hljs-string">"部门经理"</span>,
            <span class="hljs-attr">"description"</span>: <span class="hljs-string">""</span>
        }
    ],
    <span class="hljs-attr">"success"</span>: <span class="hljs-literal">true</span>,
    <span class="hljs-attr">"total"</span>: <span class="hljs-number">1</span>
}
</code></pre>

</body>
</html>
